/**
 * Copyright &copy; 2012-2016 civet All rights reserved.
 */
package cn.mcsys.myadmin.modules.goods.service;

import java.util.List;

import cn.mcsys.myadmin.common.persistence.Page;
import cn.mcsys.myadmin.modules.goods.dao.GoodsObjDao;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.mcsys.myadmin.common.persistence.Page;
import cn.mcsys.myadmin.common.service.CrudService;
import cn.mcsys.myadmin.modules.goods.entity.GoodsObj;
import cn.mcsys.myadmin.modules.goods.dao.GoodsObjDao;

/**
 * 商品信息Service
 * @author Jockey
 * @version 2016-11-20
 */
@Service
@Transactional(readOnly = true)
public class GoodsObjService extends CrudService<GoodsObjDao, GoodsObj> {

	public GoodsObj get(Integer id) {
		return super.get(id);
	}
	
	public List<GoodsObj> findList(GoodsObj goodsObj) {
		return super.findList(goodsObj);
	}
	
	public Page<GoodsObj> findPage(Page<GoodsObj> page, GoodsObj goodsObj) {
		return super.findPage(page, goodsObj);
	}
	
	@Transactional(readOnly = false)
	public void save(GoodsObj goodsObj) {
		super.save(goodsObj);
	}
	
	@Transactional(readOnly = false)
	public void delete(GoodsObj goodsObj) {
		super.delete(goodsObj);
	}
	
}